import axios from '@/libs/request'

/**
 * 添加职权管理
 * @param data
 * @returns {*}
 */
export const insertGovPowersData = (data) => {
  return axios.request({
    url: '/api/as/setting/govpowers/insertGovPowersData',
    data: data,
    type: 'post'
  })
}
// 修改
export const updateGovPowersData = (data) => {
  return axios.request({
    url: '/api/ac/setting/recordOperationService/updateGovPowersData',
    data: data,
    type: 'post'
  })
}
// 删除
export const delGovPowersData = (data) => {
  return axios.request({
    url: '/api/ac/setting/recordOperationService/deleteGovPowersData',
    data: data,
    type: 'post'
  })
}
